package com.xyh.transaction.mapper;

import com.xyh.transaction.common.LogLevel;
import com.xyh.transaction.entity.Log;
import com.xyh.transaction.entity.dto.log.LogSearchDto;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Set;

@Mapper
public interface LogMapper {


    void insert(Log log);


    List<Log> findAll(LogSearchDto logSearchDto);

    Set<LogLevel> findAllLogLevel();

    Set<String> findAllMethod();
}
